import React from 'react'
import { WebView } from '@tarojs/components'
import { getCurrentInstance } from '@tarojs/taro'

const OutPage: React.FC<{}> = () => {
  // @ts-ignore
  const { url } = getCurrentInstance().router.params
  return (
    // @ts-ignore
    <WebView src={url} />
  )
}

export default OutPage